package cn.wp.ewallet.wmps.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import cn.wp.common.core.dao.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 收益统计-Do实体
 * Created by zhnagyongli on 2020/01/11
 */
@Data
@Table(value = "EARN_STAT_LOG",keys = {"stat_date","wallet_address"})
public class EarnStatLogDo implements Serializable {
    
    /** 统计日期  */
    @Column("stat_date")
    private Date statDate;

    /** 天天盈总收益  */
    @Column("tty_total_earn")
    private BigDecimal ttyTotalEarn;

    /** 购买定期理财总收益  */
    @Column("fina_total_earn")
    private BigDecimal finaTotalEarn;

    /**  累计待返数据 */
    @Column("return_earn")
    private BigDecimal returnEarn;

    /** 总收益=天天盈总收益+理财总到账收益  */
    @Column("total_earn")
    private BigDecimal totalEarn;

    /** 钱包地址  */
    @Column("wallet_address")
    private String walletAddress;

    
}